using System;
using ClientTools.Library.DataTypes.Versions;

namespace ClientTools.Library.Interfaces
{
    public interface IVersions: INodes
    {
        VersionInfo GetVersionInfos();
        VersionInfo GetVersionInfos(int nodeId);
        VersionInfo GetVersionInfos(int nodeId, bool includeChildren);
        VersionInfo GetChildrenVersionInfos(int nodeId);
        VersionCollection GetVersions(int nodeId);

        VersionInfo DeleteVersion(Guid guid);
        VersionInfo DeleteVersionsByDate(DateTime date, int nodeId);
        VersionInfo DeleteVersionsByItems(int numerOfItems, int nodeId);
    }
}
